﻿<html>

<head>

	<link rel="stylesheet" type="text/css" href="${def:context}/default.css" />
	<title>安全管理</title>
	
	<script language="javascript" src="${def:context}/action/script">
	</script>
	
</head>

<body>

<!--common header-->
${inc:${def:actionroot}/header}
<!--end of common header-->

<center>
		
		<!--START FORM-->
		<form name="form1" action="${def:context}${def:actionroot}/${req:form.action}" method="POST">
		
		<table class="formgrid" width="70%">
		
			<!--layout-->
			<col width="40%"> <!--labels-->
			<col width="60%">


			<!--section header-->
			<tr>
				<th colspan="2">
					${req:form.mode}				
				</th>
			</tr>

		
			<!--separator row-->
			<tr height="10px">
				<td colspan="2"></td>
			</tr>
		
			<!--fields-->
	<tr style="display:${req:display}">
		<td class="formlabel required">登录代码</td>
		<td>
			<input name="userlogin" type="text" size="20" maxlength="25" value="${fld:userlogin}">
		</td>
	</tr>
	<tr style="display:${req:display}">
		<td class="formlabel required">登录密码</td>
		<td><input name="passwd" type="password" size="20" maxlength="15"></td>
	</tr>
	<tr style="display:${req:display}">
		<td class="formlabel required">确认密码</td>
		<td><input name="confirm" type="password" size="20" maxlength="15"></td>
	</tr>
	<tr>
		<td class="formlabel">姓氏</td>
		<td><input name="lname" type="text" size="25" maxlength="25" value="${fld:lname}"></td>
	</tr>
	<tr>
		<td class="formlabel">名称</td>
		<td><input name="fname" type="text" size="25" maxlength="25" value="${fld:fname}"></td>
	</tr>
	<tr>
		<td class="formlabel">电子邮箱</td>
		<td><input name="email" type="text" size="30" maxlength="80" value="${fld:email}"></td>
	</tr>
	<tr>
		<td valign="top" class="formlabel"><br>密码安全策略</td>
		<td valign="top">
			<br>
			<select name="pwd_policy">
				<option value="-2">系统默认安全策略</option>
				<option value="-1">密码永不过期</option>
				<option value="15">密码15后过期</option>
				<option value="30">密码30后过期</option>
				<option value="60">密码60后过期</option>
				<option value="90">密码90后过期</option>
			</select>
			<br>
			<input name="force_newpass" type="checkbox" value="1" > 
			下次登录强制变更密码
			<br><br>
		</td>
	</tr>
	<tr>
		<td valign="top" class="formlabel required">用户角色</td>
		<td>
			<role-list>
			<input name="role_id" type="checkbox" value="${fld:role_id}"> ${fld:app_alias}/${fld:description}<br>
			</role-list>
		</td>
	</tr>

	<tr>
		<td class="formlabel">默认语言</td>
		<td>
			<select name="locale">
				<option value="zh">中文</option>
				<option value="en">English</option>
			</select>
		</td>
	</tr>			
				
							
			<!--separator row-->
			<tr height="10px">
				<td colspan="2"></td>
			</tr>
		
			<!--buttons-->
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="保存">
					<input type="button" value="返回" onClick="window.location='${ses:return.url}'">				
				</td>
			</tr>
		</table>
		
		<input type="hidden" name="user_id" value="${fld:user_id}">
						
		</form>

		<script language="javascript">
			
		

		</script>
		<!--END FORM-->

</center>

</body>
</html>
